package com.grademaster.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.grademaster.common.R;
import com.grademaster.dto.StudentDto;
import com.grademaster.dto.StudentPageDto;
import com.grademaster.entity.StudentInfo;
import org.springframework.http.ResponseEntity;

/**
* @author Administrator
* @description 针对表【student_info(学生信息表)】的数据库操作Service
* @createDate 2024-06-26 16:19:09
*/
public interface StudentInfoService extends IService<StudentInfo> {
    /**
     * 根据分页条件查询学生信息
     * @param studentPageDto
     * @return
     */
    R getAllStudentsByPage(StudentPageDto studentPageDto);

    /**
     * 根据学生id查询学生信息
     * @param studentDto
     * @return
     */
    R editStudentClass(StudentDto studentDto);

    /**
     * 新增学生信息
     * @param studentPageDto
     * @return
     */
    ResponseEntity exportExcel(StudentPageDto studentPageDto);
}
